package com.wj.test;

import com.wj.beans.factory.annotation.Autowired;

/**
 * @ClassName BaseService
 * @Author wangji
 * @Date 2021/7/30
 */
public class BaseService {
    @Autowired
    private BaseBaseService bbs;

    public BaseBaseService getBbs() {
        return bbs;
    }

    public void setBbs(BaseBaseService bbs) {
        this.bbs = bbs;
    }

    public BaseService() {
    }

    public void sayHello() {
        System.out.println("Base Service say Hello!");
        bbs.sayHello();
    }
}
